Fix inclusion of examples in docs in non-srcdir builds
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 Apr 2015 18:04:26 +0000 (14:04 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 Apr 2015 18:16:50 +0000 (14:16 -0400)
This is a bit messy, since xsltproc insists on stripping relative
paths to the basename before consulting the paths.

https://bugzilla.gnome.org/show_bug.cgi?id=748640

docs/reference/gtk/Makefile.am

index b3f6dbd5bb8edc7d05680149329afd9af140e0d3..7e7cd5aa7436efe610e2a8ac55f2fccec2a44eba 100644 (file)
@@ -266,6 +266,8 @@ GTKDOC_LIBS = \
 # Extra options to supply to gtkdoc-mkdb
 MKDB_OPTIONS=--output-format=xml --name-space=gtk
 
+MKHTML_OPTIONS="--path=\"$(abs_srcdir):$(top_srcdir)/examples\""
+
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
 content_files =                                        \
        version.xml                             \